<div class="form-group" ng-class={ 'has-error':showError} ng-model="model[options.key]">
    <input class="form-control" type="text" ng-value="model[options.key].name" disabled="disabled" />
</div>